Xbasic
LOG Function
Syntax
Natural_Log as N = LOG(N number)
Arguments
- number
Numeric
Description
Returns the natural log (base e) of a number.
Discussion
LOG() returns the natural logarithm (base e) of the specified Number.
Example
log(2.718281828459045) -> 1.0000 ' natural log of e log(10) -> 2.3026 nAmt = log(2) / log(10) 'compute log base 10 of 2 ?nAmt = 0.301029995663981
See Also